#include <iostream>
#include <map>
using namespace std;

int main()
{
	typedef multimap<int, double> mmid;
	mmid pairs;
	cout << "1)" << pairs.count(15) << endl;
	pairs.insert(mmid::value_type(15, 2.7));
	pairs.insert(mmid::value_type(15, 99.3));
	cout << "2)" << pairs.count(15) << endl;
	pairs.insert(mmid::value_type(30, 111.11));
	pairs.insert(mmid::value_type(20, 22.22));
	pairs.insert(mmid::value_type(25,33.333));
	pairs.insert(mmid::value_type(20,9.3));
	for (mmid::const_iterator i = pairs.begin(); i != pairs.end(); ++i)
		cout << "(" << i->first << "," << i->second << ")" << ",";
	cout << endl;
	return 0;
}